package com.bac.rentmap.ad.flat;

import javax.jdo.PersistenceManager;

public interface FlatAdDao {

    FlatAd find(String street, Integer building, String phone,
            PersistenceManager persistenceManager);

    FlatAd get(Long flatAdId);

    FlatAd getBySecureId(String secureId);

    FlatAd loadBySecureId(String secureId) throws SecureFlatAdNotFoundException;

    Long deleteBySecureId(String secureId);
}
